<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class SurveyMemberAnswer extends Model
{
    //建立与colleague 表的多对一关联
    public function colleague(){
        return $this->belongsTo(SurveyColleague::class, 'survey_member_id');
    }
}
